﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
using GrayParrot.ServiceProcess;

namespace $safeprojectname$
{
    public partial class $safeitemrootname$ : ReliableService<$safeitemrootname$>
    {
        // PUT HERE THE DEFINITION OF YOUR WORKER CODE...

        public $safeitemrootname$()
        {
            InitializeComponent();
        }

        protected override void OnStart(string[] args)
        {           
		    base.OnStart(args);
        }

        protected override void OnStop()
        {
		    base.OnStop();
        }

        protected override void Worker()
        {
		    // PUT HERE YOUR WORKER CODE...
		}

        protected override void DisposeWorker()
        {
		    // PUT HERE YOUR WORKER CODE DISPOSING...
        }
    }
}
